/*
            Author : Nguyen Van Ty
            Email  : ngvanty_03@yahoo.com
            Date   : 6/11/2011                        
            */

             using System;
            using System.Collections.Generic; 
            using System.Text;  
            namespace BusinessObject{
             /// <summary>
                    /// Define SubCategoryResult object. This object used to contain data that returned from data layer.
                /// </summary>
                public class SubCategoryResult {
		#region fields
		private int subCategoryId; 
		private string categoryId; 
		private string subCategoryCode; 
		private string published; 
		private int order; 
 #endregion fields

		 #region properties
          /// <summary>
            /// Define SubCategoryId Property.
            /// </summary>
		public int SubCategoryId {
			get { return this.subCategoryId; }
			set { this.subCategoryId = value; }
		}
          /// <summary>
            /// Define CategoryId Property.
            /// </summary>
		public string CategoryId {
			get { return this.categoryId; }
			set { this.categoryId = value; }
		}
          /// <summary>
            /// Define SubCategoryCode Property.
            /// </summary>
		public string SubCategoryCode {
			get { return this.subCategoryCode; }
			set { this.subCategoryCode = value; }
		}
          /// <summary>
            /// Define Published Property.
            /// </summary>
		public string Published {
			get { return this.published; }
			set { this.published = value; }
		}
          /// <summary>
            /// Define Order Property.
            /// </summary>
		public int Order {
			get { return this.order; }
			set { this.order = value; }
		}
              #endregion properties
		
		#region constructor
        /// <summary>
            /// Define default constructor for SubCategoryResultResult Object.
            /// </summary>
		public SubCategoryResult (){
			this.subCategoryId = int.MinValue;
			this.categoryId = string.Empty;
			this.subCategoryCode = string.Empty;
			this.published = string.Empty;
			this.order = int.MinValue;            
		}
 /// <summary>
            /// Define constructor for SubCategoryResultResult Object.
            /// </summary>
		public SubCategoryResult ( int subCategoryId, 
					string categoryId, 
					string subCategoryCode, 
					string published, 
					int order ) {
			this.subCategoryId = subCategoryId;
			this.categoryId = categoryId;
			this.subCategoryCode = subCategoryCode;
			this.published = published;
			this.order = order;             
		}
		#endregion constructor
	}
}